import { 
    Row,Col,Button,Radio, 
    RadioGroup,
    RadioButton,
    Checkbox,
    CheckboxButton,
    CheckboxGroup, 
    Select,Input,Form,FormItem,Container,Header,Aside,Main,Menu,Submenu,MenuItemGroup,MenuItem,Breadcrumb,BreadcrumbItem,Card,Table,TableColumn,Dialog,Pagination,Tag,Option,OptionGroup,
} from 'element-ui'

const element = {
    install : function (Vue) {
        /* 按需引入ElementUI */
        Vue.use(Button)
        Vue.use(Select)
        Vue.use(Input)
        Vue.use(Form)
        Vue.use(FormItem)
        Vue.use(Container)
        Vue.use(Header)
        Vue.use(Aside)
        Vue.use(Main)
        Vue.use(Menu)
        Vue.use(Submenu)
        Vue.use(MenuItemGroup)
        Vue.use(MenuItem)
        Vue.use(Breadcrumb)
        Vue.use(BreadcrumbItem)
        Vue.use(Card)
        Vue.use(Row)
        Vue.use(Col)
        Vue.use(Table)
        Vue.use(TableColumn)
        Vue.use(Dialog)
        Vue.use(Pagination)
        Vue.use(Tag)
        Vue.use(Option)
        Vue.use(OptionGroup)
        Vue.use(Radio)
        Vue.use(Radio);
        Vue.use(RadioGroup);
        Vue.use(RadioButton);
        Vue.use(Checkbox);
        Vue.use(CheckboxButton);
        Vue.use(CheckboxGroup);
        Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 }
         
    }
}
    
export default element
